package com.csx.base.design.behavior.command;

/**
 * @author cuisongxu
 * @date 2022/10/12 12:04
 */
public class TV {

    public void on() {
        System.out.println("电视机开启");
    }

    public void off() {
        System.out.println("电视机关闭");
    }

    public void channelUp() {
        System.out.println("电视频道+");
    }

    public void channelDown() {
        System.out.println("电视频道-");
    }

    public void volumeUp() {
        System.out.println("电视机音量+");
    }

    public void volumeDown() {
        System.out.println("电视机音量-");
    }


    public static void main(String[] args) {

    }
}
